package com.gskj.educenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author :CodingFarmer_码农  Connor(康纳)_郭
 * @date : 11:28 20.5.21
 * @Company : http://www.gskj.com
 * @Version : 1.0
 */

@SpringBootApplication
@EnableDiscoveryClient // 将服务注册到 nacos中
@ComponentScan({"com.gskj"})
@MapperScan("com.gskj.educenter.mapper")
public class UCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(UCenterApplication.class, args);
    }
}
